package org.zjvis.datascience.common.model;

import lombok.*;

import java.io.Serializable;

/**
 * @description SQL查询结果 字段包装类
 * @date 2021-12-08
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Column implements Serializable {

    private static final long serialVersionUID = 4379348936813117806L;

    private int index;

    private String name;

    private String label;

    private String typeName;

    private int type;

    private String desc;


    public Column(String name, String typeName, String desc) {
        this.name = name;
        this.typeName = typeName;
        this.desc = desc;
    }
}
